#ifndef __MCNETSTRUCTINFO_H__
#define __MCNETSTRUCTINFO_H__

struct MsSubNetKey
{
	long connectNetId;
	long originalNetId;
	MsSubNetKey(long connectNetId_ = 0, long originalNetId_ = 0)
		:connectNetId(connectNetId_), originalNetId(originalNetId_)
	{

	}
};
bool operator < (const MsSubNetKey& r, const MsSubNetKey& l);
void operator <<= (O_STREAM& os, const MsSubNetKey& t);
void operator >>= (I_STREAM& is, MsSubNetKey& t);

struct MsSubNetInfo
{
	bool start_connect;
	string net_ap;
	long parent_net_id;
	MsSubNetInfo(bool start_connect_ = false, const string& net_ap_ = string(), long parent_net_id_ = 0)
		:start_connect(start_connect_), net_ap(net_ap_), parent_net_id(parent_net_id_)
	{
	}
};
void operator <<= (O_STREAM& os, const MsSubNetInfo& t);
void operator >>= (I_STREAM& is, MsSubNetInfo& t);

#endif //__MCNETSTRUCTINFO_H__